import request from '@/api/request.js'


//GET 删除设备
export const delEquipment = data => request.get('/app/equipment/delEquipment',data)

//GET 根据eqId查询设备信息
export const getEquipment = data => request.get('/app/equipment/getEquipment',data)

//GET 获取设备列表
export const listEquipment = data => request.get('/app/equipment/listEquipment',data)

//POST 分页查询设备
export const pageEquipment = data => request.post('/app/equipment/pageEquipment',data)

//POST 保存设备
export const saveEquipment = data => request.post('/app/equipment/saveEquipment',{params:data})

//POST 编辑设备
export const updateEquipment = data => request.post('/app/equipment/updateEquipment',data)



//GET 删除拍摄人员类型
export const delShootingType = data => request.get('/app/postProductionType/delShootingType',data)

//GET 根据eqId查询拍摄人员类型
export const getShootingType = data => request.get('/app/postProductionType/getShootingType',data)

//GET 获取拍摄人员类型列表
export const listShootingType = data => request.get('/app/postProductionType/listShootingType',data)

//POST 分页查询拍摄人员类型
export const pageShootingType = data => request.post('/app/postProductionType/pageShootingType',data)

//POST 保存拍摄人员类型
export const saveShootingType = data => request.post('/app/postProductionType/saveShootingType',{params:data})

//POST 编辑拍摄人员类型
export const updateShootingType = data => request.post('/app/postProductionType/updateShootingType',data)




//GET 删除后期项目类型
export const delPostProductionType = data => request.get('/app/postProductionType/delPostProductionType',data)

//GET 根据eqId查询后期项目类型
export const getPostProductionType = data => request.get('/app/postProductionType/getPostProductionType',data)

//GET 获取后期项目类型列表
export const listPostProductionType = data => request.get('/app/postProductionType/listPostProductionType',data)

//POST 分页查询后期项目类型
export const pagePostProductionType = data => request.post('/app/postProductionType/pagePostProductionType',data)

//POST 保存后期项目类型
export const savePostProductionType = data => request.post('/app/postProductionType/savePostProductionType',{params:data})

//POST 编辑后期项目类型
export const updatePostProductionType = data => request.post('/app/postProductionType/updatePostProductionType',data)





//GET 删除客户
export const delCustomer = data => request.get('/app/customer/delCustomer',data)

//GET 根据customerId查询客户信息
export const getCustomer = data => request.get('/app/customer/getCustomer',data)

//GET 获取客户列表
export const listCustomer = data => request.get('/app/customer/listCustomer',data)

//POST 分页查询客户
export const pageCustomer = data => request.post('/app/customer/pageCustomer',data)

//POST 保存客户
export const saveCustomer = data => request.post('/app/customer/saveCustomer',{params:data})

//POST 编辑客户
export const updateCustomer = data => request.post('/app/customer/updateCustomer',data)




//GET 删除外聘人员
export const delExternal = data => request.get('/app/external/delExternal',data)

//GET 根据externalId查询外聘人员信息
export const getExternal = data => request.get('/app/external/getExternal',data)

//GET 获取外聘人员列表
export const listExternal = data => request.get('/app/external/listExternal',data)

//POST 分页查询外聘人员
export const pageExternal = data => request.post('/app/external/pageExternal',data)

//POST 保存外聘人员
export const saveExternal = data => request.post('/app/external/saveExternal',{params:data})

//POST 编辑外聘人员
export const updateExternal = data => request.post('/app/external/updateExternal',data)


